package com.fpswork.core.model;

import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONArray;
import com.fpswork.util.JSONUtils;



/**
 * 用于下载excel的实体
 * @author spf
 *
 */

public class ExcelEntity {
	//---------------------------------直接下载只用赋值给这两个属性 start---------------------------------------
	private String filename;     				//excel的名称
	private List<ExcelShell> filedata;  		//excel的数据
    //---------------------------------直接下载只用赋值给这两个属性 end-----------------------------------------
	
	//---------------------------------数据库查询下载execl使用 start------------------------------------------
	private String sql;    						//直接查询结果集的语句
    private Map<String, Object> linename;  		//存放对应的表头名称和对应的数据库字段
    //---------------------------------数据库查询下载execl使用 end--------------------------------------------
	public String getFilename() {
		return filename;
	}
	public void setFilename(String filename) {
		this.filename = filename;
	}
	public List<ExcelShell> getFiledata() {
		return filedata;
	}
	public void setFiledata(List<ExcelShell> filedata) {
		this.filedata = filedata;
	}
	public String getSql() {
		return sql;
	}
	public void setSql(String sql) {
		this.sql = sql;
	}
	public Map<String, Object> getLinename() {
		return linename;
	}
	public void setLinename(Map<String, Object> linename) {
		this.linename = linename;
	} 
	
	
	
}
